﻿using System;
using System.Collections.Generic;

namespace Pixels.Logic.Rules
{
    class WhenNothingHappens : LogicRule
    {
        internal override void execute() {
            if (World.Logic.currentEvents.Length == 0) {
                World.Logic.injectEvent(new GameplayEvents.NothingHappenedEvent());
            }
        }
    }
}
